package com.example.strategy.strategy;

import org.springframework.stereotype.Component;

/**
 * @Description : 支付宝支付策略
 * @Author : Bruce Lee
 * @CreateTime : 2025/8/14
 */


@Component("alipay")
public class AlipayStrategy implements PaymentStrategy {
    @Override
    public void pay(int amount) {
        // TODO
        System.out.println("使用支付宝支付：" + amount);
    }
}
